<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>JSON Voorhees: jsonv/value.hpp File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js"],
    jax: ["input/TeX","output/HTML-CSS"],
});
</script><script src="http://www.mathjax.org/mathjax/MathJax.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">JSON Voorhees
   </div>
   <div id="projectbrief">Killer JSON for C++</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li><a href="examples.html"><span>Examples</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('value_8hpp.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Groups</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(11)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#define-members">Macros</a> &#124;
<a href="#enum-members">Enumerations</a> &#124;
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">value.hpp File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Copyright (c) 2012-2018 by Travis Gockel.  
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &lt;<a class="el" href="config_8hpp_source.html">jsonv/config.hpp</a>&gt;</code><br/>
<code>#include &lt;<a class="el" href="string__view_8hpp_source.html">jsonv/string_view.hpp</a>&gt;</code><br/>
<code>#include &lt;<a class="el" href="basic__view_8hpp_source.html">jsonv/detail/basic_view.hpp</a>&gt;</code><br/>
<code>#include &lt;cstddef&gt;</code><br/>
<code>#include &lt;cstdint&gt;</code><br/>
<code>#include &lt;initializer_list&gt;</code><br/>
<code>#include &lt;iosfwd&gt;</code><br/>
<code>#include &lt;iterator&gt;</code><br/>
<code>#include &lt;functional&gt;</code><br/>
<code>#include &lt;map&gt;</code><br/>
<code>#include &lt;stdexcept&gt;</code><br/>
<code>#include &lt;string&gt;</code><br/>
<code>#include &lt;type_traits&gt;</code><br/>
<code>#include &lt;utility&gt;</code><br/>
</div>
<p><a href="value_8hpp_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">union &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="unionjsonv_1_1detail_1_1value__storage.html">jsonv::detail::value_storage</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classjsonv_1_1kind__error.html">jsonv::kind_error</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Thrown from various <code>value</code> methods when attempting to perform an operation which is not valid for the <code>kind</code> of value.  <a href="classjsonv_1_1kind__error.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classjsonv_1_1value.html">jsonv::value</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Represents a single JSON value, which can be any one of a potential <code>kind</code>, each behaving slightly differently.  <a href="classjsonv_1_1value.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structjsonv_1_1value_1_1basic__array__iterator.html">jsonv::value::basic_array_iterator&lt; T, TArrayView &gt;</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">The base type for iterating over array values.  <a href="structjsonv_1_1value_1_1basic__array__iterator.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structjsonv_1_1value_1_1basic__object__iterator.html">jsonv::value::basic_object_iterator&lt; T, TIterator &gt;</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">The base iterator type for iterating over object types.  <a href="structjsonv_1_1value_1_1basic__object__iterator.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:structjsonv_1_1value_1_1object__insert__return__type"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classjsonv_1_1value.html#structjsonv_1_1value_1_1object__insert__return__type">jsonv::value::object_insert_return_type</a></td></tr>
<tr class="memdesc:structjsonv_1_1value_1_1object__insert__return__type"><td class="mdescLeft">&#160;</td><td class="mdescRight">Type returned from <code>insert</code> operations when this has kind::object.  <a href="classjsonv_1_1value.html#structjsonv_1_1value_1_1object__insert__return__type">More...</a><br/></td></tr>
<tr class="separator:structjsonv_1_1value_1_1object__insert__return__type"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classjsonv_1_1object__node__handle.html">jsonv::object_node_handle</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">A <a href="http://en.cppreference.com/w/cpp/container/node_handle">node handle</a> used when a value is kind::object to access elements of the object in potentially destructive manner.  <a href="classjsonv_1_1object__node__handle.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structstd_1_1hash_3_01jsonv_1_1value_01_4.html">std::hash&lt; jsonv::value &gt;</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Explicit specialization of <code>std::hash</code> for <code><a class="el" href="classjsonv_1_1value.html" title="Represents a single JSON value, which can be any one of a potential kind, each behaving slightly diff...">jsonv::value</a></code> types so you can store a <code>value</code> in an unordered container.  <a href="structstd_1_1hash_3_01jsonv_1_1value_01_4.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:ad29fc7aebbb60df50b5554c889a6a61e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad29fc7aebbb60df50b5554c889a6a61e"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>JSONV_VALUE_INTEGER_ALTERNATIVE_CTOR_PROTO_GENERATOR</b>(type_)&#160;&#160;&#160;value(type_ val);</td></tr>
<tr class="separator:ad29fc7aebbb60df50b5554c889a6a61e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:ga3721c2ed2f380809f2fc3b03a6f6fa53"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Value.html#ga3721c2ed2f380809f2fc3b03a6f6fa53">jsonv::kind</a> : unsigned char { <br/>
&#160;&#160;<b>null</b>, 
<b>object</b>, 
<b>array</b>, 
<b>string</b>, 
<br/>
&#160;&#160;<b>integer</b>, 
<b>decimal</b>, 
<b>boolean</b>
<br/>
 }</td></tr>
<tr class="memdesc:ga3721c2ed2f380809f2fc3b03a6f6fa53"><td class="mdescLeft">&#160;</td><td class="mdescRight">Describes the <em>kind</em> of data a <code>value</code> holds.  <a href="group__Value.html#ga3721c2ed2f380809f2fc3b03a6f6fa53">More...</a><br/></td></tr>
<tr class="separator:ga3721c2ed2f380809f2fc3b03a6f6fa53"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga28b56e4bcc6db35b78e8a5c075994202"><td class="memItemLeft" align="right" valign="top"><a class="el" href="config_8hpp.html#acd0703012bd724b356c177b7bc3d761d">JSONV_PUBLIC</a> std::ostream &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Value.html#ga28b56e4bcc6db35b78e8a5c075994202">jsonv::operator&lt;&lt;</a> (std::ostream &amp;, const kind &amp;)</td></tr>
<tr class="memdesc:ga28b56e4bcc6db35b78e8a5c075994202"><td class="mdescLeft">&#160;</td><td class="mdescRight">Print out the name of the <code>kind</code>.  <a href="group__Value.html#ga28b56e4bcc6db35b78e8a5c075994202">More...</a><br/></td></tr>
<tr class="separator:ga28b56e4bcc6db35b78e8a5c075994202"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2d5017f8b832a4b66bd16923ebde1c3d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="config_8hpp.html#acd0703012bd724b356c177b7bc3d761d">JSONV_PUBLIC</a> std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Value.html#ga2d5017f8b832a4b66bd16923ebde1c3d">jsonv::to_string</a> (const kind &amp;)</td></tr>
<tr class="memdesc:ga2d5017f8b832a4b66bd16923ebde1c3d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the name of the <code>kind</code>.  <a href="group__Value.html#ga2d5017f8b832a4b66bd16923ebde1c3d">More...</a><br/></td></tr>
<tr class="separator:ga2d5017f8b832a4b66bd16923ebde1c3d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae3ace586ca3740d38395f258c36aa3f9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="config_8hpp.html#acd0703012bd724b356c177b7bc3d761d">JSONV_PUBLIC</a> std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Value.html#gae3ace586ca3740d38395f258c36aa3f9">jsonv::to_string</a> (const value &amp;)</td></tr>
<tr class="memdesc:gae3ace586ca3740d38395f258c36aa3f9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a string representation of the given <code>value</code>.  <a href="group__Value.html#gae3ace586ca3740d38395f258c36aa3f9">More...</a><br/></td></tr>
<tr class="separator:gae3ace586ca3740d38395f258c36aa3f9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacbd9685699111e35574f44d3793f600c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="config_8hpp.html#acd0703012bd724b356c177b7bc3d761d">JSONV_PUBLIC</a> value&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Value.html#gacbd9685699111e35574f44d3793f600c">jsonv::operator&quot;&quot;_json</a> (const char *str, std::size_t len)</td></tr>
<tr class="memdesc:gacbd9685699111e35574f44d3793f600c"><td class="mdescLeft">&#160;</td><td class="mdescRight">A user-defined literal for parsing JSON.  <a href="group__Value.html#gacbd9685699111e35574f44d3793f600c">More...</a><br/></td></tr>
<tr class="separator:gacbd9685699111e35574f44d3793f600c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6dcde9d9d0ea0a03bde8bcdff760e10f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="config_8hpp.html#acd0703012bd724b356c177b7bc3d761d">JSONV_PUBLIC</a> void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Value.html#ga6dcde9d9d0ea0a03bde8bcdff760e10f">jsonv::swap</a> (value &amp;a, value &amp;b) noexcept</td></tr>
<tr class="memdesc:ga6dcde9d9d0ea0a03bde8bcdff760e10f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Swap the values <em>a</em> and <em>b</em>.  <a href="group__Value.html#ga6dcde9d9d0ea0a03bde8bcdff760e10f">More...</a><br/></td></tr>
<tr class="separator:ga6dcde9d9d0ea0a03bde8bcdff760e10f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaee0b1767f4ec42adc02c5b0bb0781b91"><td class="memItemLeft" align="right" valign="top"><a class="el" href="config_8hpp.html#acd0703012bd724b356c177b7bc3d761d">JSONV_PUBLIC</a> value&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Value.html#gaee0b1767f4ec42adc02c5b0bb0781b91">jsonv::array</a> ()</td></tr>
<tr class="memdesc:gaee0b1767f4ec42adc02c5b0bb0781b91"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create an empty array value.  <a href="group__Value.html#gaee0b1767f4ec42adc02c5b0bb0781b91">More...</a><br/></td></tr>
<tr class="separator:gaee0b1767f4ec42adc02c5b0bb0781b91"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4f0838289f72088c6a079e00140efda2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="config_8hpp.html#acd0703012bd724b356c177b7bc3d761d">JSONV_PUBLIC</a> value&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Value.html#ga4f0838289f72088c6a079e00140efda2">jsonv::array</a> (std::initializer_list&lt; value &gt; source)</td></tr>
<tr class="memdesc:ga4f0838289f72088c6a079e00140efda2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create an array value from the given source.  <a href="group__Value.html#ga4f0838289f72088c6a079e00140efda2">More...</a><br/></td></tr>
<tr class="separator:ga4f0838289f72088c6a079e00140efda2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8c4ac5022703a328eddc667d4ce333ed"><td class="memTemplParams" colspan="2">template&lt;typename TForwardIterator &gt; </td></tr>
<tr class="memitem:ga8c4ac5022703a328eddc667d4ce333ed"><td class="memTemplItemLeft" align="right" valign="top">value&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__Value.html#ga8c4ac5022703a328eddc667d4ce333ed">jsonv::array</a> (TForwardIterator first, TForwardIterator last)</td></tr>
<tr class="memdesc:ga8c4ac5022703a328eddc667d4ce333ed"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create an array with contents defined by range [<em>first</em>, <em>last</em>).  <a href="group__Value.html#ga8c4ac5022703a328eddc667d4ce333ed">More...</a><br/></td></tr>
<tr class="separator:ga8c4ac5022703a328eddc667d4ce333ed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga757770053a2714136231e26ec7c74673"><td class="memItemLeft" align="right" valign="top"><a class="el" href="config_8hpp.html#acd0703012bd724b356c177b7bc3d761d">JSONV_PUBLIC</a> value&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Value.html#ga757770053a2714136231e26ec7c74673">jsonv::object</a> ()</td></tr>
<tr class="memdesc:ga757770053a2714136231e26ec7c74673"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create an empty object.  <a href="group__Value.html#ga757770053a2714136231e26ec7c74673">More...</a><br/></td></tr>
<tr class="separator:ga757770053a2714136231e26ec7c74673"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0626c41c76cb46a7859de92c1f3bdd68"><td class="memItemLeft" align="right" valign="top"><a class="el" href="config_8hpp.html#acd0703012bd724b356c177b7bc3d761d">JSONV_PUBLIC</a> value&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Value.html#ga0626c41c76cb46a7859de92c1f3bdd68">jsonv::object</a> (std::initializer_list&lt; std::pair&lt; std::string, value &gt;&gt; source)</td></tr>
<tr class="memdesc:ga0626c41c76cb46a7859de92c1f3bdd68"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create an object with key-value pairs from the given <em>source</em>.  <a href="group__Value.html#ga0626c41c76cb46a7859de92c1f3bdd68">More...</a><br/></td></tr>
<tr class="separator:ga0626c41c76cb46a7859de92c1f3bdd68"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9052e7acde85ae6681c6512943851b68"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ga9052e7acde85ae6681c6512943851b68"></a>
<a class="el" href="config_8hpp.html#acd0703012bd724b356c177b7bc3d761d">JSONV_PUBLIC</a> value&#160;</td><td class="memItemRight" valign="bottom"><b>jsonv::object</b> (std::initializer_list&lt; std::pair&lt; std::wstring, value &gt;&gt; source)</td></tr>
<tr class="separator:ga9052e7acde85ae6681c6512943851b68"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabae5c5bfa8dceec8849cfe0a58ad83b1"><td class="memTemplParams" colspan="2">template&lt;typename TForwardIterator &gt; </td></tr>
<tr class="memitem:gabae5c5bfa8dceec8849cfe0a58ad83b1"><td class="memTemplItemLeft" align="right" valign="top">value&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__Value.html#gabae5c5bfa8dceec8849cfe0a58ad83b1">jsonv::object</a> (TForwardIterator first, TForwardIterator last)</td></tr>
<tr class="memdesc:gabae5c5bfa8dceec8849cfe0a58ad83b1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create an object whose contents are defined by range [<em>first</em>, <em>last</em>).  <a href="group__Value.html#gabae5c5bfa8dceec8849cfe0a58ad83b1">More...</a><br/></td></tr>
<tr class="separator:gabae5c5bfa8dceec8849cfe0a58ad83b1"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:gadfc02eaef2e93e367cb9f2922cdfe490"><td class="memItemLeft" align="right" valign="top"><a class="el" href="config_8hpp.html#acd0703012bd724b356c177b7bc3d761d">JSONV_PUBLIC</a> const value&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Value.html#gadfc02eaef2e93e367cb9f2922cdfe490">jsonv::null</a></td></tr>
<tr class="memdesc:gadfc02eaef2e93e367cb9f2922cdfe490"><td class="mdescLeft">&#160;</td><td class="mdescRight">An instance with <code>kind::null</code>.  <a href="group__Value.html#gadfc02eaef2e93e367cb9f2922cdfe490">More...</a><br/></td></tr>
<tr class="separator:gadfc02eaef2e93e367cb9f2922cdfe490"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Copyright (c) 2012-2018 by Travis Gockel. </p>
<p>All rights reserved.</p>
<p>This program is free software: you can redistribute it and/or modify it under the terms of the Apache License as published by the Apache Software Foundation, either version 2 of the License, or (at your option) any later version.</p>
<dl class="section author"><dt>Author</dt><dd>Travis Gockel (<a href="#" onclick="location.href='mai'+'lto:'+'tra'+'vi'+'s@g'+'oc'+'kel'+'hu'+'t.c'+'om'; return false;">travi<span style="display: none;">.nosp@m.</span>s@go<span style="display: none;">.nosp@m.</span>ckelh<span style="display: none;">.nosp@m.</span>ut.c<span style="display: none;">.nosp@m.</span>om</a>) </dd></dl>

<p>Definition in file <a class="el" href="value_8hpp_source.html">value.hpp</a>.</p>
</div><hr/><h2 class="groupheader">Class Documentation</h2>
<a name="structjsonv_1_1value_1_1object__insert__return__type" id="structjsonv_1_1value_1_1object__insert__return__type"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct jsonv::value::object_insert_return_type</td>
        </tr>
      </table>
</div><div class="memdoc">
<div class="textblock"><p>Type returned from <code>insert</code> operations when this has kind::object. </p>
<p>It is generally compatible with the <code>insert_return_type</code> of <code>std::map</code>, with the notable lack of <code>node</code>.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classjsonv_1_1value.html#ae19ed935e84e274c0cc93fd397498d3a" title="Insert an item into position on this array. ">insert</a> </dd></dl>

<p>Definition at line <a class="el" href="value_8hpp_source.html#l00420">420</a> of file <a class="el" href="value_8hpp_source.html">value.hpp</a>.</p>
</div><table class="fieldtable">
<tr><th colspan="3">Class Members</th></tr>
<tr><td class="fieldtype">
<a class="anchor" id="ad683d0674dba1130d026ec93385669bf"></a>bool</td>
<td class="fieldname">
inserted</td>
<td class="fielddoc">
Did the insert operation perform an insert? A value of <code>false</code> indicates there was a key already present with the same name. </td></tr>
<tr><td class="fieldtype">
<a class="anchor" id="ac84e8ac72d1d78045bc79ea62351b95b"></a><a class="el" href="structjsonv_1_1value_1_1basic__object__iterator.html">const_object_iterator</a></td>
<td class="fieldname">
position</td>
<td class="fielddoc">
The position of the inserted node or node with the duplicate key. </td></tr>
</table>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_10cd029e0034a3f98d221f50ebb6d9d4.html">jsonv</a></li><li class="navelem"><a class="el" href="value_8hpp.html">value.hpp</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.6 </li>
  </ul>
</div>
</body>
</html>
